home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#24 (Sep 87)
/
fortran source
/
reset stuff
/
reset.asm
next >
Wrap
Assembly Source File
|
1987-08-09
|
337b
|
18 lines
; reset random seed
include quickequ.d
include traps.d
include sysequx.d
xdef start
start:
clr.l -(A7) ;clear result
_TickCount ;get tickcount
clr.l D2 ;clear D2
move.l (A7)+,D2 ;pop off result
movea.l (currentA5),A4 ;get A5
movea.l GrafGlobals(A4), A3 ;get qd globals
move.l D2, randSeed(A3) ;update seed
rts